﻿<%@ Page Language="C#" MasterPageFile="~/WebSite/teacher.master" AutoEventWireup="true" CodeFile="t_modify_pesonal_info.aspx.cs" Inherits="t_modify_pesonal_info" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <style type="text/css">
        .ModifyPwd
        {
            margin:10px auto;
            padding:0px auto;
            overflow:visible;
        }
        .ModifyPwd h1
        {
        	margin-left:225px;
        	background-image:url(../images/cluster.gif);
        	background-repeat:no-repeat;
        	width:150px;
        	font-size:23px;
        	height:50px;
        	padding-left:50px;
        	padding-top:10px;
        	margin-top:-5px;
        }
        .inputpwd
        {
        	margin-left:130px;
        	margin-top:30px;
        	width:400px;
        	height:30px;
        	font-size:18px;
       	}
       	.ModifyBtnStyle
       	{
       		margin:5px 220px auto;
    	    width:120px;
    	    height:30px;
    	    background-color:#669DF0;
    	    font-size:16px;
    	    font-weight:bold;
    	    color:#FFFFFF;
       	}
</style>
<div class="ModifyPwd">
    <h1>修改用户密码</h1>
    <div class="inputpwd">
        请输入新密码:<Asp:TextBox   TextMode="password"   id="PwdTextBox1"    style="width:150px;height:20px;font-size:10px;margin-left:28px;" runat="server" MaxLength="25" />
    </div>
    <div class="inputpwd">
        请再次输入密码:<Asp:TextBox   TextMode="password"   id="PwdTextBox2"   style="width:150px;height:20px;font-size:10px;margin-left:10px;"  runat="server" MaxLength="25" />
    </div>
    <br />
    <asp:Button ID="ModifyBtn" runat="server" CssClass="ModifyBtnStyle" 
            Text="修改密码" onclick="ModifyBtn_Click"  />
    <br />
    <asp:CompareValidator ID="CompareValidator1" runat="server" 
        ErrorMessage="两次输入的密码不同！" ControlToCompare="PwdTextBox1" 
        ControlToValidate="PwdTextBox2" Display="Dynamic"></asp:CompareValidator>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
        ControlToValidate="PwdTextBox1" Display="Dynamic" ErrorMessage="只能输入英文字母和数字" 
        ValidationExpression="^[A-Za-z0-9]+$"></asp:RegularExpressionValidator>
    <br />
    <asp:Label ID="ErrorLabel" runat="server" Visible="false" Text=""/>
</div>
</asp:Content>

